package config

//	加载所有配置
type Server struct {
	System  System    `mapstructure:"system" json:"system" yaml:"system"`

	Zap     Zap       `mapstructure:"zap" json:"zap" yaml:"zap"`

	// gorm
	Mysql  Mysql	  `mapstructure:"mysql" json:"mysql" yaml:"mysql"`
	DBList []DB  	  `mapstructure:"db-list" json:"db-list" yaml:"db-list"`

	Captcha  Captcha  `mapstructure:"captcha" json:"captcha" yaml:"captcha"`
	Jwt 	 JWT 	  `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
	Redis    Redis    `mapstructure:"redis" json:"redis" yaml:"redis"`

	Casbin  Casbin  `mapstructure:"casbin" json:"casbin" yaml:"casbin"`
}
